package com.itheima.service;

import com.itheima.pojo.MobileOrderVo;
import com.itheima.pojo.Order;
import com.itheima.pojo.OrderInfoVo;
import com.itheima.pojo.Result;

import java.util.Map;

public interface OrderService {
    Result submit(OrderInfoVo orderInfoVo);

    Map findById4Detail(Integer id);

    Result mobileAdd(MobileOrderVo mobileOrderVo);

    void deleteById(int id);

    MobileOrderVo findById(int id);

    void edit(Order order);
}
